/**
 * Created by dzd on 2017/3/24.
 */

(function () {
    'use strict';

    angular.module('App.pages.class')
        .service('ClassActivityModel', ClassActivityModel);

    function ClassActivityModel(API,$resource) {
        this.actions = {}

        this.actions.findClassActivity = {
            method: 'GET',
            url: API + '/activity/wechat/findClassActivity'
        }

        this.actions.getActivityPage = {
            method: 'POST',
            url: API + '/activity/wechat/getActivityPage'
        }
        return $resource.call(this, this.url, this.params, this.actions)
    }

})();